import fs from 'fs'

export function removeFile(filePath){
  return new Promise((resolve, reject) => {
    fs.unlink(filePath, (err) => {
      if(err){
        reject(err)
      }else{
        resolve()
      }
    })
  })
}